package cn.tedu.spring.scope;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

/**
 * Scope注解: SpringBean作用域注解
 * 单例模式: value="singleton"
 * 多例模式: value="prototype"
 */
@Scope(value = "singleton")
//@Scope(value = "prototype")
@Controller
public class UserController {
}
